package com.backend.agtmanaview.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.backend.common.annotation.Excel;
import com.backend.common.core.domain.BaseEntity;

/**
 * 租赁合同管理对象 agt_mana_view
 * 
 * @author fusi
 * @date 2024-10-13
 */
public class AgtManaView extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 租赁合同ID */
    @Excel(name = "租赁合同ID")
    private Long leaseAgreementId;

    /** 合同详情 */
    private String agreementDetails;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date startTime;

    /** 租赁期限（月） */
    @Excel(name = "租赁期限", readConverterExp = "月=")
    private Long leaseTerm;

    /** 总租金 */
    @Excel(name = "总租金")
    private BigDecimal allRent;

    /** 状态（0未生效 1正在生效 2已过期） */
    @Excel(name = "状态", readConverterExp = "0=未生效,1=正在生效,2=已过期")
    private String status;

    /** 移动端用户ID */
    @Excel(name = "移动端用户ID")
    private Long mobileUserId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String name;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNumber;

    /** 公寓ID */
    @Excel(name = "公寓ID")
    private Long apartmentId;

    /** 公寓名称 */
    @Excel(name = "公寓名称")
    private String apartmentName;

    /** 房间ID */
    @Excel(name = "房间ID")
    private Long roomId;

    /** 房间名称 */
    @Excel(name = "房间名称")
    private String roomName;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 县 */
    @Excel(name = "县")
    private String county;

    /** 房间具体位置 */
    @Excel(name = "房间具体位置")
    private String roomLocation;

    /** 签约ID */
    private Long signId;

    /** 租赁合同-出租-房间ID */
    private Long agreementCorrespondRoomId;

    public void setLeaseAgreementId(Long leaseAgreementId) 
    {
        this.leaseAgreementId = leaseAgreementId;
    }

    public Long getLeaseAgreementId() 
    {
        return leaseAgreementId;
    }
    public void setAgreementDetails(String agreementDetails) 
    {
        this.agreementDetails = agreementDetails;
    }

    public String getAgreementDetails() 
    {
        return agreementDetails;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setLeaseTerm(Long leaseTerm) 
    {
        this.leaseTerm = leaseTerm;
    }

    public Long getLeaseTerm() 
    {
        return leaseTerm;
    }
    public void setAllRent(BigDecimal allRent) 
    {
        this.allRent = allRent;
    }

    public BigDecimal getAllRent() 
    {
        return allRent;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setMobileUserId(Long mobileUserId) 
    {
        this.mobileUserId = mobileUserId;
    }

    public Long getMobileUserId() 
    {
        return mobileUserId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setApartmentId(Long apartmentId) 
    {
        this.apartmentId = apartmentId;
    }

    public Long getApartmentId() 
    {
        return apartmentId;
    }
    public void setApartmentName(String apartmentName) 
    {
        this.apartmentName = apartmentName;
    }

    public String getApartmentName() 
    {
        return apartmentName;
    }
    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }
    public void setRoomName(String roomName) 
    {
        this.roomName = roomName;
    }

    public String getRoomName() 
    {
        return roomName;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCounty(String county) 
    {
        this.county = county;
    }

    public String getCounty() 
    {
        return county;
    }
    public void setRoomLocation(String roomLocation) 
    {
        this.roomLocation = roomLocation;
    }

    public String getRoomLocation() 
    {
        return roomLocation;
    }
    public void setSignId(Long signId) 
    {
        this.signId = signId;
    }

    public Long getSignId() 
    {
        return signId;
    }
    public void setAgreementCorrespondRoomId(Long agreementCorrespondRoomId) 
    {
        this.agreementCorrespondRoomId = agreementCorrespondRoomId;
    }

    public Long getAgreementCorrespondRoomId() 
    {
        return agreementCorrespondRoomId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("leaseAgreementId", getLeaseAgreementId())
            .append("agreementDetails", getAgreementDetails())
            .append("startTime", getStartTime())
            .append("leaseTerm", getLeaseTerm())
            .append("allRent", getAllRent())
            .append("status", getStatus())
            .append("mobileUserId", getMobileUserId())
            .append("name", getName())
            .append("phoneNumber", getPhoneNumber())
            .append("apartmentId", getApartmentId())
            .append("apartmentName", getApartmentName())
            .append("roomId", getRoomId())
            .append("roomName", getRoomName())
            .append("province", getProvince())
            .append("city", getCity())
            .append("county", getCounty())
            .append("roomLocation", getRoomLocation())
            .append("signId", getSignId())
            .append("agreementCorrespondRoomId", getAgreementCorrespondRoomId())
            .toString();
    }
}
